/* =============
	SCOUT
   =============  */

local CLASS = {}

CLASS.Id = Class.SCOUT
CLASS.Name = "Scout"
CLASS.Description = "Runs fast, kills fast"

function CLASS:Init()

end

function CLASS:Spawn()
	self.Player:Give("weapon_crowbar")
	self.Player:Give("weapon_pistol")
	self.Player:Give("weapon_smg1")
	self.Player:Give("weapon_frag")
	
	self.Player:SelectWeapon( "weapon_smg1" )
end

function CLASS:SetAmmo()
	self.Player:GiveAmmo(150,"smg1")
	self.Player:GiveAmmo(100,"Pistol")
end

Class.Register( CLASS )

/* =============
	SOLDIER
   =============  */
local CLASS = {}

CLASS.Id = Class.SOLDIER
CLASS.Name = "Soldier"
CLASS.Description = "Who needs speed when you have big guns?"

function CLASS:Init()

end

function CLASS:Spawn()
	self.Player:Give("weapon_crowbar")
	self.Player:Give("weapon_pistol")
	self.Player:Give("weapon_ar2")
	self.Player:Give("weapon_frag")
	
	self.Player:SelectWeapon( "weapon_ar2" )
end

function CLASS:SetAmmo()
	self.Player:GiveAmmo(90,"AR2")
	self.Player:GiveAmmo(100,"Pistol")
end

Class.Register( CLASS )

/* =============
	SNIPER
   =============  */
local CLASS = {}

CLASS.Id = Class.SNIPER
CLASS.Name = "Sniper"
CLASS.Description = "Douchbags on the end of the map"

function CLASS:Init()

end

function CLASS:Spawn()
	self.Player:Give("weapon_crowbar")
	self.Player:Give("weapon_pistol")
	self.Player:Give("weapon_crossbow")
	self.Player:Give("weapon_frag")
	
	self.Player:SelectWeapon( "weapon_crossbow" )
end

function CLASS:SetAmmo()
	self.Player:GiveAmmo(5,"XBowBolt")
	self.Player:GiveAmmo(100,"Pistol")
end

Class.Register( CLASS )

/* =============
	ENGINEER
   =============  */
local CLASS = {}

CLASS.Id = Class.ENGINEER
CLASS.Name = "Engineer"
CLASS.Description = "For all your constructions needs"

function CLASS:Init()

end

function CLASS:Spawn()
	self.Player:Give("weapon_crowbar")
	self.Player:Give("weapon_pistol")
	self.Player:Give("weapon_shotgun")
	self.Player:Give("weapon_physcannon")
	self.Player:Give("weapon_frag")
	
	self.Player:SelectWeapon( "weapon_shotgun" )
end

function CLASS:SetAmmo()
	self.Player:GiveAmmo(50,"Buckshot")
	self.Player:GiveAmmo(100,"Pistol")
end

Class.Register( CLASS )

/* =============
	ROCKET
   =============  */
local CLASS = {}

CLASS.Id = Class.ROCKET
CLASS.Name = "Rocket Launcher"
CLASS.Description = "Exploding everything in it's way"

function CLASS:Init()

end

function CLASS:Spawn()
	self.Player:Give("weapon_crowbar")
	self.Player:Give("weapon_pistol")
	self.Player:Give("weapon_rpg")
	self.Player:Give("weapon_frag")
	
	self.Player:SelectWeapon( "weapon_rpg" )
end

function CLASS:SetAmmo()
	self.Player:GiveAmmo(5,"RPG_Round")
	self.Player:GiveAmmo(100,"Pistol")
end

Class.Register( CLASS )